package com.wx.mall.goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品分类表

 * </p>
 *
 * @author j
 * @since 2020-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pro_category")
@ApiModel(value="Category对象", description="商品分类表")
public class Category implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "分类表的id")
      @TableId(value = "category_id", type = IdType.AUTO)
    private Integer categoryId;

    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    @ApiModelProperty(value = "分类的级别")
    private Integer categoryLevel;

    @ApiModelProperty(value = "上级分类")
    private Integer categoryParentId;

    @ApiModelProperty(value = "排序位置")
    private Integer categorySort;

    @ApiModelProperty(value = "是否显示，0为不显示，1为显示")
    private Integer categoryIsShow;

    @ApiModelProperty(value = "是否显示在导航栏，0为不显示，1为显示")
    private Integer categoryIsNavigation;

    @ApiModelProperty(value = "模版的id")
    private Integer categoryTemplateId;

    @ApiModelProperty(value = "是否删除，0为不删除，1为删除")
    private Integer categoryState;


}
